//#define DEBUG

#ifndef DSC3D_H
#define DSC3D_H

#include <iostream>

class DSC3D {

public:
	DSC3D();
	~DSC3D();
	int load_dsc3d_file(char* filename);
	int verify_loaded_data(int pts2show);
	int getVertexCount();
	float** getVertices();
	float** getTexcoords();

private:
	/* Horizontal dimension of the texture image */
	int n;
	/* Vertical dimension of the texture image*/
	int m;
	/* Number of 3D data points */
	int p;
	/* Original filename */
	char orig_file_name[512];
	/* Time subject scanned */
	char time_scanned[128];
	/* Time DSC3D datafile created */
	char time_created[128];
	/* Flag indicating whether to read as ASCII or binary */
	int binaryflag;
	/* Vertex positions */
	float** vertices;
	/* Texture coordinates */
	float** texcoords;
	/* Color */
	float** color;

};

#endif